package com.ddstation.crud.mapper;

import com.ddstation.app.sewage.model.DtInvsAddDisinfectantHistoryModel;
import com.ddstation.crud.entity.DtInvsAddDisinfectantEntity;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DtInvsAddDisinfectantMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(DtInvsAddDisinfectantEntity record);

    int insertSelective(DtInvsAddDisinfectantEntity record);

    int insertReplace(DtInvsAddDisinfectantEntity record);

    int insertByList(List<DtInvsAddDisinfectantEntity> list);

    DtInvsAddDisinfectantEntity selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(DtInvsAddDisinfectantEntity record);

    int updateByPrimaryKey(DtInvsAddDisinfectantEntity record);

    List<DtInvsAddDisinfectantHistoryModel> selectByHistory(@Param("institutionId") String institutionId, @Param("startNo") int startNo, @Param("pageSize") int pageSize);
}